/**
 * 
 */
Ext.onReady(function(){
	//http://jn/PHPSample/javaData/test_json.php
	//alert("http://jn/PHPSample/javaData/test_json.php");
	Ext.Ajax.request({
		url:"http://jn/PHPSample/javaData/test_json.php",
		//method:"post",//默认就是post
		params: { "foo": 'bar' ,"www":"ooo","name":"孔卫佳"},
		success: function(response,options){
			alert(response.responseText);
			var json = Ext.util.JSON.decode(response.responseText);
			alert(json.pram["$_POST_end"]);
		},
		failure: function(response,options){
			alert("failure");
		}
		
	});
});